obj += 01pthread_create
obj += 02cleanup
obj += 03primer
obj += 04primer_plus
obj += 05add_bug
obj += 06add_mutex
obj += 07abcd
# obj += 08primer_pool 此文件与09内容相同,已经删去
obj += 09primer_pool_busy
obj += 10primer_pool_cond
obj += 11abcd_cond
obj += 12max

CFLAGS += -Wall 
CFLAGS += -pthread
CFLAGS += -D_FILE_OFFSET_BITS=64

LDFLAGS += -pthread

all: $(obj).c
	for i in $(obj);do\
		gcc $$i.c -o $$i $(CFLAGS);\
	done
clean:
	rm $(obj)
